package com.tangkun.environment.entity.gongzuo;


import com.tangkun.environment.entity.base.BaseModel;

import java.util.List;

/**
 * Created Time: 2017/3/18.
 * <p>
 * Author:tangkun
 * <p>
 * 功能：提交数据 巡查数据列表
 */
public class InspectViewReturn extends BaseModel {

    /**
     * data : {"createtime":null,"createuserid":null,"description":null,"enterpriseid":"71ac37da2be342f68288ae311c430214","flowmsg":"待提交","ids":"c59cbb01b6f9429287fb8c69079aad17","inspectflowid":"5a6fe880b4d9450b81e01eb218b99531","inspectnum":2,"month":"201706","name":"6月，第2次巡查数据","templatelist":[{"createtime":"2017-06-27 01:16:26","ids":"5a4d1b775a224603a6d004e1be04042e","img":"/files/upload/inspect-icon/huanjingbaohu.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[{"ids":"20170627011626_1540221","key":"每月用水量","parentid":"20170627011626_1540170624002616","type":"text","value":null},{"ids":"20170627011626_1540222","key":"有无新、改、扩建项目","parentid":null,"type":"radio","value":"[{\"key\":\"有\",\"value\":\"1\", \"childids\":\"20170627011626_1540223\"},{\"key\":\"无\", \"value\":\"\", \"childids\":\"\"}]"},{"ids":"20170627011626_1540223","key":"新、改、扩建项目内容","parentid":"20170627011626_1540222","type":"text","value":null},{"ids":"20170627011626_1540170624002616","key":"油钱是否超标","parentid":null,"type":"radio","value":"[{\"childids\":\"20170627011626_1540221\",\"value\":\"\",\"key\":\"是\"},{\"childids\":\"20170627011626_15400\",\"value\":\"\",\"key\":\"否\"}]"}],"module":"环境保护基础资料","ord":4},{"createtime":"2017-06-27 01:16:26","ids":"4ec9fa4aa5b54d7a94144f74f03c8006","img":"/files/upload/inspect-icon/weishui.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[{"ids":"20170627011626_9069224","key":"废水收集官网情况","parentid":null,"type":"radio","value":"[{\"key\":\"完好\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"破损\", \"value\":\"\", \"childids\":\"\"},{\"key\":\"未建设\", \"value\":\"\", \"childids\":\"\"}]"},{"ids":"20170627011626_9069225","key":"运行台账","parentid":null,"type":"img","value":null},{"ids":"20170627011626_9069226","key":"有效期至","parentid":null,"type":"date","value":null},{"ids":"20170627011626_9069227","key":"请选择超标项目（可多选）","parentid":null,"type":"checkbox","value":"[{\"key\":\"PH\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"COD\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"CH3\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"重金属\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"其他\",\"value\":\"1\", \"childids\":\"\"}]"}],"module":"废水","ord":5},{"createtime":"2017-06-27 01:16:26","ids":"837a7122e4d54a4cb0da5e071d502fca","img":"/files/upload/inspect-icon/feiqi.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"废气","ord":6},{"createtime":"2017-06-27 01:16:26","ids":"9c1bdf9020e942c592c0525f1d60289e","img":"/files/upload/inspecttemplate/20170622175809_0807.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"危废","ord":90},{"createtime":"2017-06-27 01:16:26","ids":"6218fa97f39649379d588df591490b8d","img":"/files/upload/inspect-icon/20170622211304_6287.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"噪音","ord":98}],"updatetime":null}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * createtime : null
         * createuserid : null
         * description : null
         * enterpriseid : 71ac37da2be342f68288ae311c430214
         * flowmsg : 待提交
         * ids : c59cbb01b6f9429287fb8c69079aad17
         * inspectflowid : 5a6fe880b4d9450b81e01eb218b99531
         * inspectnum : 2
         * month : 201706
         * name : 6月，第2次巡查数据
         * templatelist : [{"createtime":"2017-06-27 01:16:26","ids":"5a4d1b775a224603a6d004e1be04042e","img":"/files/upload/inspect-icon/huanjingbaohu.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[{"ids":"20170627011626_1540221","key":"每月用水量","parentid":"20170627011626_1540170624002616","type":"text","value":null},{"ids":"20170627011626_1540222","key":"有无新、改、扩建项目","parentid":null,"type":"radio","value":"[{\"key\":\"有\",\"value\":\"1\", \"childids\":\"20170627011626_1540223\"},{\"key\":\"无\", \"value\":\"\", \"childids\":\"\"}]"},{"ids":"20170627011626_1540223","key":"新、改、扩建项目内容","parentid":"20170627011626_1540222","type":"text","value":null},{"ids":"20170627011626_1540170624002616","key":"油钱是否超标","parentid":null,"type":"radio","value":"[{\"childids\":\"20170627011626_1540221\",\"value\":\"\",\"key\":\"是\"},{\"childids\":\"20170627011626_15400\",\"value\":\"\",\"key\":\"否\"}]"}],"module":"环境保护基础资料","ord":4},{"createtime":"2017-06-27 01:16:26","ids":"4ec9fa4aa5b54d7a94144f74f03c8006","img":"/files/upload/inspect-icon/weishui.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[{"ids":"20170627011626_9069224","key":"废水收集官网情况","parentid":null,"type":"radio","value":"[{\"key\":\"完好\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"破损\", \"value\":\"\", \"childids\":\"\"},{\"key\":\"未建设\", \"value\":\"\", \"childids\":\"\"}]"},{"ids":"20170627011626_9069225","key":"运行台账","parentid":null,"type":"img","value":null},{"ids":"20170627011626_9069226","key":"有效期至","parentid":null,"type":"date","value":null},{"ids":"20170627011626_9069227","key":"请选择超标项目（可多选）","parentid":null,"type":"checkbox","value":"[{\"key\":\"PH\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"COD\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"CH3\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"重金属\",\"value\":\"1\", \"childids\":\"\"},{\"key\":\"其他\",\"value\":\"1\", \"childids\":\"\"}]"}],"module":"废水","ord":5},{"createtime":"2017-06-27 01:16:26","ids":"837a7122e4d54a4cb0da5e071d502fca","img":"/files/upload/inspect-icon/feiqi.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"废气","ord":6},{"createtime":"2017-06-27 01:16:26","ids":"9c1bdf9020e942c592c0525f1d60289e","img":"/files/upload/inspecttemplate/20170622175809_0807.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"危废","ord":90},{"createtime":"2017-06-27 01:16:26","ids":"6218fa97f39649379d588df591490b8d","img":"/files/upload/inspect-icon/20170622211304_6287.png","inspectid":"c59cbb01b6f9429287fb8c69079aad17","itemlist":[],"module":"噪音","ord":98}]
         * updatetime : null
         */

        public String createtime;
        public String createuserid;
        public String descriptionX;
        public String enterpriseid;
        public String flowmsg;
        public String ids;
        public String inspectflowid;
        public int inspectnum;
        public String month;
        public String name;
        public String updatetime;
        public List<TemplatelistBean> templatelist;

        public static class TemplatelistBean {
            /**
             * createtime : 2017-06-27 01:16:26
             * ids : 5a4d1b775a224603a6d004e1be04042e
             * img : /files/upload/inspect-icon/huanjingbaohu.png
             * inspectid : c59cbb01b6f9429287fb8c69079aad17
             * itemlist : [{"ids":"20170627011626_1540221","key":"每月用水量","parentid":"20170627011626_1540170624002616","type":"text","value":null},{"ids":"20170627011626_1540222","key":"有无新、改、扩建项目","parentid":null,"type":"radio","value":"[{\"key\":\"有\",\"value\":\"1\", \"childids\":\"20170627011626_1540223\"},{\"key\":\"无\", \"value\":\"\", \"childids\":\"\"}]"},{"ids":"20170627011626_1540223","key":"新、改、扩建项目内容","parentid":"20170627011626_1540222","type":"text","value":null},{"ids":"20170627011626_1540170624002616","key":"油钱是否超标","parentid":null,"type":"radio","value":"[{\"childids\":\"20170627011626_1540221\",\"value\":\"\",\"key\":\"是\"},{\"childids\":\"20170627011626_15400\",\"value\":\"\",\"key\":\"否\"}]"}]
             * module : 环境保护基础资料
             * ord : 4
             */

            public String createtime;
            public String ids;
            public String img;
            public String inspectid;
            public String module;
            public int ord;
            public List<ItemlistBean> itemlist;

            //非服务器返回字段，用于控制显示与隐藏
            public boolean isShow;

            public static class ItemlistBean {
                /**
                 * ids : 20170627011626_1540221
                 * key : 每月用水量
                 * parentid : 20170627011626_1540170624002616
                 * type : text
                 * value : null
                 */

                public String ids;
                public String key;
                public String parentid;
                public String type;
                public String value;
            }
        }
    }
}
